package cn.gok.common.entity.customer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 描述：顾客商品收藏
 *
 * @author shikundai
 * @date 2020/12/14
 * @time 15:28
 */
@Data
@TableName("c_collect")
public class CustomerCollect {
    /**
     * 描述：商品收藏ID
     * @author shikundai
     * @date 2020/12/14
     * @time 15:33
     */
    @TableId(value = "COLLECT_ID",type = IdType.AUTO)
    private Integer collectId;
    /**
     * 描述：消费者ID
     * @author shikundai
     * @date 2020/12/14
     * @time 15:33
     */
    @TableField("CUSTOMER_ID")
    private String customerId;
    /**
     * 描述：商品主键ID
     * @author shikundai
     * @date 2020/12/14
     * @time 15:34
     */
    @TableField("GOODS_ID")
    private String goodsId;
    /**
     * 描述：店铺主键ID
     * @author shikundai
     * @date 2020/12/14
     * @time 15:34
     */
    @TableField("BUSINESS_ID")
    private String businessId;
    /**
     * 描述：收藏时间
     * @author shikundai
     * @date 2020/12/14
     * @time 15:34
     */
    @TableField("ADD_TIME")
    private Date addTime;
    /**
     * 描述：是否过期 0：未过期  1：过期
     * @author shikundai
     * @date 2020/12/14
     * @time 15:34
     */
    @TableField("IS_EXPIRES")
    private Byte isExpires;
    /**
     * 描述：过期时间
     * @author shikundai
     * @date 2020/12/14
     * @time 15:35
     */
    @TableField("EXPIRES_DATE")
    private Date expiresDate;
    /**
     * 描述：是否取消收藏 0：否  1：是
     * @author shikundai
     * @date 2020/12/14
     * @time 15:35
     */
    @TableField("IS_CANCEL")
    private Byte isCancel;
    /**
     * 描述：最后更新时间
     * @author shikundai
     * @date 2020/12/14
     * @time 15:36
     */
    @TableField("MODIFIED_TIME")
    private Date modifiedTime;

}
